<div class="partner relative">
    <h3 class="left">Đối tác</h3>
    <div class="partner-sl">
        <ul class="noli">
            <?php
            foreach ($advs as $adv):
                $url_path = $adv->url_path == "#Click vào đây để thay đổi đường dẫn ảnh" ? "#" : $adv->url_path;
                ?>
                <li>
                    <a title="<?php if ($adv->title === 'Title') echo $adv->title; ?>" rel="nofolow" href="<?php echo $url_path; ?>"><img src="/images/advs/thumbnails/<?php echo $adv->image_name; ?>"/></a>
                </li>
                <?php
            endforeach;
            ?>
        </ul>
    </div>
    <a id="btn-next-partner" class="btn-partner-sl">Next</a>
    <a id="btn-prev-partner" class="btn-partner-sl">Prev</a>
    <div class="clear">
    </div>
</div>